{% load static %}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>联通新闻</title>
    <link rel="shortcut icon" href="{%static '/favicon.ico' %}" type="image/x-icon">
    <link rel="stylesheet" href="{% static '/css/news.css' %}">
</head>

<body>
    <div id="app">
        <h1>您查询到的联通新闻列表</h1>
        <ul>
            {%for item in n1%}
            <li style="li::after{content: '{{item.post_time}}';}">
                <a href="http://www.chinaunicom.com.cn/{{item.news_link}}" title="点击查看">时间：{{item.post_time}}&nbsp;&nbsp;&nbsp;&nbsp;标题：{{item.news_title}}</a></li>
            {%endfor%}
        </ul>
    </div>
</body>

</html>